Swift - Random Number
Int
is a signed integer value type.
It contains the random
static function that returns a random value within the specified range.
Example:
Int.random(in: 0 ... 5);
Int
is a signed integer value type.
It contains the random
static function that returns a random value within the specified range.
Example:
Int.random(in: 0 ... 5);